namespace Admin.Net.Plugin.Api;

public class LabelItemOutDto
{
	/// <summary>
	/// 标签名称
	/// </summary>
	private string _labelname;

	/// <summary>
	/// 标签id
	/// </summary>
	public long? LabelId { get; set; }

	public string LabelName
	{
		get
		{
			if (_labelname == null)
			{
				return "其他";
			}
			return _labelname;
		}
		set
		{
			_labelname = value;
		}
	}

	/// <summary>
	/// 总耗电量
	/// </summary>
	public decimal Ele { get; set; }

	/// <summary>
	/// 总占比
	/// </summary>
	public string ELeRate { get; set; }
}
